package com.caifeng.myapplication.expandableList;

import java.util.List;

public class GroupBean {
    private  String gr_title,gr_online,gr_totalPerson;
    private List<ChildBean> mList;

    public GroupBean() {

    }

    public GroupBean(String gr_title, String gr_online, String gr_totalPerson, List<ChildBean> mList) {
        this.gr_title = gr_title;
        this.gr_online = gr_online;
        this.gr_totalPerson = gr_totalPerson;
        this.mList = mList;
    }

    public String getGr_title() {
        return gr_title;
    }

    public void setGr_title(String gr_title) {
        this.gr_title = gr_title;
    }

    public String getGr_online() {
        return gr_online;
    }

    public void setGr_online(String gr_online) {
        this.gr_online = gr_online;
    }

    public String getGr_totalPerson() {
        return gr_totalPerson;
    }

    public void setGr_totalPerson(String gr_totalPerson) {
        this.gr_totalPerson = gr_totalPerson;
    }

    public List<ChildBean> getmList() {
        return mList;
    }

    public void setmList(List<ChildBean> mList) {
        this.mList = mList;
    }

    @Override
    public String toString() {
        return "GroupBean{" +
                "gr_title='" + gr_title + '\'' +
                ", gr_online='" + gr_online + '\'' +
                ", gr_totalPerson='" + gr_totalPerson + '\'' +
                ", mList=" + mList +
                '}';
    }

    public class ChildBean{
        private int acatarid;
        private String name,online,text;

        public ChildBean() {

        }

        public ChildBean(int acatarid, String name, String online, String text) {
            this.acatarid = acatarid;
            this.name = name;
            this.online = online;
            this.text = text;
        }

        public void setAcatarid(int acatarid) {
            this.acatarid = acatarid;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setOnline(String online) {
            this.online = online;
        }

        public void setText(String text) {
            this.text = text;
        }

        public int getAcatarid() {
            return acatarid;
        }

        public String getName() {
            return name;
        }

        public String getOnline() {
            return online;
        }

        public String getText() {
            return text;
        }

        @Override
        public String toString() {
            return "ChildBean{" +
                    "acatarid=" + acatarid +
                    ", name='" + name + '\'' +
                    ", online='" + online + '\'' +
                    ", text='" + text + '\'' +
                    '}';
        }
    }











}
